<template>
  <div class="login">
    <h1>登录</h1>
    <button @click="goHome">去主页看看</button>
    <button @click="goMovieList">去todoList</button>
  </div>
</template>

<script>
export default {
    name: "Lodin",
    methods:{
      goHome(){
        this.$router.push("/home")
      },

      goMovieList(){
        this.$router.push("/todo")
      }
    }
}
</script>

<style scoped>
.login{
  height: 100px;
  text-align: center;
  background-color: aqua;
}
</style>